import App from './App'
import "./style/index.scss"

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import headerPublic from "@/components/headerPublic"
import zuicalendar from "@/components/zui-calendar/components/zui-calendar/zui-calendar"
import DhUpload from '@/components/dh-upload/index.vue';
import Vant from "vant"

import echarts from "@/utils/uesEcharts.js";



Vue.config.productionTip = false
Vue.component("headerPublic", headerPublic)
Vue.component("DhUpload", DhUpload)
Vue.component('zui-calendar',zuicalendar)

Vue.use(Vant)

Vue.prototype.$echarts = echarts

App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif